-- GENERATED SPELL FOR [Scorpid Duneburrower] --


function spell0_7803(pUnit, Event) --@Venom Sting,n/a--
pUnit:FullCastSpellOnTarget(5416,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_7803', 45000, 1)
end

function Sorts_7803(pUnit, Event)
local choix_sorts_7803 = math.random(0, 0)
if choix_sorts_7803 == 0 then
pUnit:RegisterEvent('spell0_7803', 1, 1)
end
end

function mob7803_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_7803', math.random(1500, 3000), 1)
end

function mob7803_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob7803_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob7803_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(7803, 1, 'mob7803_Action')
RegisterUnitEvent(7803, 2, 'mob7803_Leave')
RegisterUnitEvent(7803, 3, 'mob7803_Kill')
RegisterUnitEvent(7803, 4, 'mob7803_Die')
